﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace chatgpt_LKZ4251
{
    public class GPTConfig : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler? PropertyChanged = delegate { };
        private string history;
        public string History
        {
            get
            {
                return history;
            }
            set
            {
                history = value;
                PropertyChanged(this, new PropertyChangedEventArgs("History"));
            }
        }

        private string question;
        public string Question
        {
            get
            {
                return question;
            }
            set
            {
                question = value;
                PropertyChanged(this, new PropertyChangedEventArgs("Question"));
            }
        }

        public GPTConfig()
        {
            this.History = this.Question = string.Empty;
        }
    }
}
